/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Monitor.Model
{

    /// <summary>
    ///  数据详情
    /// </summary>
    public class SqlInfo
    {

        ///<summary>
        /// 产品标识，目前统一用jcloud
        ///</summary>
        public string AppCode{ get; set; }
        ///<summary>
        /// 客户端IP地址
        ///</summary>
        public string Client_net_address{ get; set; }
        ///<summary>
        /// 库名
        ///</summary>
        public string Database{ get; set; }
        ///<summary>
        /// SQL已执行时间（单位s）
        ///</summary>
        public long? Execution_time{ get; set; }
        ///<summary>
        /// 用户名
        ///</summary>
        public string Loginname{ get; set; }
        ///<summary>
        /// 监控项
        ///</summary>
        public string Metric{ get; set; }
        ///<summary>
        /// 资源所在的地域
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 资源的uuid
        ///</summary>
        public string ResourceId{ get; set; }
        ///<summary>
        /// 资源的类型
        ///</summary>
        public string ServiceCode{ get; set; }
        ///<summary>
        /// 会话ID
        ///</summary>
        public string Session_id{ get; set; }
        ///<summary>
        /// SQL详细文本
        ///</summary>
        public string Sqlstr{ get; set; }
        ///<summary>
        /// SQL开始执行的时间
        ///</summary>
        public string Start_time{ get; set; }
        ///<summary>
        /// SQL会话请求状态
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// 毫秒级时间戳
        ///</summary>
        public long? Time{ get; set; }
        ///<summary>
        /// 上报的监控值
        ///</summary>
        public long? Value{ get; set; }
    }
}
